﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using FluentNHibernate.Automapping.Alterations;
using FluentNHibernate.Automapping;

namespace Domain.Model.Mapping.Overrides
{
    public class SubprojectTaskMappingOverride : IAutoMappingOverride<SubprojectTask>
    {
        public void Override(AutoMapping<SubprojectTask> mapping)
        {
            mapping.References<Subproject>(x => x.Subproject)
                .Column("SubprojectId");
        }
    }
}